﻿using DeHeng_Mes.Model.BossModel;
using DeHeng_Mes.Model.PlcModel.Right;
using S7.Net;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DeHeng_Mes.Model.PlcModel
{
    public class PlcConfigModel
    {
        public Plc plc { get; set; }

        public string nick { get; set; }

        public string name { get; set; }

        public string ip { get; set; }

        public CpuType cpu { get; set; }

        public short rack { get; set; }

        public short slot { get; set; }

        public int heartBeat { get; set; }
        //读取线程等待
        public int readInterval { get; set; }
        //重新连接线程等待
        public int retryInterval { get; set; }
        public bool isConnected { get; set; }

        public Task heartBeatTask { get; set; }
    }
}
